
export default {
    data(){
      return{
          // pagination:{
          //     total:1,
          //     pageSize:10,
          //     currentPage4:1
          // }
      }
  },
  methods: {
    // 每页 ${val} 条
    handleSizeChange(val) {
      // this.pagination.pageSize = val;
      // console.log("分页接收", this.pagination.pageSize);
      this.$store.dispatch("pagination/set_pageSize", val);
    },
    // 当前页: ${val}
    handleCurrentChange(val) {
      // this.pagination.currentPage4 = val;
      // console.log("分页接收", this.pagination.currentPage4);
      this.$store.dispatch("pagination/set_currentPage4", val);
    }
  },
  created() {
    this.$store.dispatch("pagination/set_pageSize", 10);
    this.$store.dispatch("pagination/set_currentPage4", 1);
  },
};


